
#ifndef		__SPACEBACKGROUND_H
#define		__SPACEBACKGROUND_H

#include	"Surface.h"
#include	"FPS.h"

#define		MOVING_STEP		0.5

class SpaceBackground {

	private:
		SDL_Surface* backgroundSurface;
		float position;
		bool moving;

	public:
		SpaceBackground();

		bool init(char* imageFile);
		void loop();
		void render(SDL_Surface*);
		void cleanup();

		void setMoving(bool);
};

#endif